-
-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STY: use pytest.raises context manager (io.sql) #25597
Conversation
Codecov Report
@@ Coverage Diff @@
## master #25597 +/- ##
=======================================
Coverage 91.26% 91.26%
=======================================
Files 173 173
Lines 52966 52966
=======================================
Hits 48338 48338
Misses 4628 4628
Continue to review full report at Codecov.
|
con=self.conn, | ||
name=table_name, | ||
if_exists='notvalidvalue') | ||
with pytest.raises(ValueError, match="<insert message here>"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dummy message for unconditionally skipped test. xref #20536
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that makes sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @jreback
thanks @simonjayhawkins |
xref #24332